package com.nancy.springioc.business.dao;

public class GoodsDao {
    private String goodsId;
    private String goodsName;

    public GoodsDao() {
        System.out.println("GoodsDao 构造方法");
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public void save() {
        System.out.println("保存商品，id=" + goodsId + ", name=" + goodsName);
    }
}
